function proxyData(vm,target,key){
    // console.log(vm)
    // console.log(target)
    // console.log(key)
    Object.defineProperty(vm,key,{
        get(){
            return vm[target][key]
        },
        set(newValue){
            vm[target][key]  = newValue
        }
    })
}
export default proxyData;
 